﻿CREATE PROCEDURE [dbo].[yaf_board_list](
                @BoardID INT  = NULL)
AS
    BEGIN
        SELECT a.*,
               SQLVersion = @@VERSION
        FROM   yaf_Board a
        WHERE  (@BoardID IS NULL 
          OR a.BoardID = @BoardID)
    END


